<?php
class  Model_Evenement implements Model_IEntity
{
	//field id_evenement
	private $_id_evenement = null;
	public function setId_evenement($value)
	{
		$this->_id_evenement = $value;
	}

	public function getId_evenement()
	{
		return $this->_id_evenement;
	}

	//field titre
	private $_titre = null;
	public function setTitre($value)
	{
		$this->_titre = htmlremove($value);
	}

	public function getTitre()
	{
		return $this->_titre;
	}

	//field image
	private $_image = null;
	public function setImage($value)
	{
		$this->_image = htmlremove($value);
	}
	
	public function getImage()
	{
		return $this->_image;
	}
	
	//field contenu
	private $_contenu = null;
	public function setContenu($value)
	{
		$this->_contenu = htmlfilter($value, array('script', 'iframe'));
	}

	public function getContenu()
	{
		return $this->_contenu;
	}

	//field tags
	private $_tags = null;
	public function setTags($value)
	{
		$this->_tags = htmlremove($value);
	}

	public function getTags()
	{
		return $this->_tags;
	}

	//field publie
	private $_publie = null;
	public function setPublie($value)
	{
		$this->_publie = $value;
	}

	public function getPublie()
	{
		return $this->_publie;
	}

        //field date_debut
        private $_date_debut = null;
        public function setDate_debut($value)
        {
            $this->_date_debut = new DateTime($value);
        }

        public function getDate_debut()
        {
            return $this->_date_debut;
        }

        //field date_fin
        private $_date_fin = null;
        public function setDate_fin($value)
        {
            $this->_date_fin = new DateTime($value);
        }

        public function getDate_fin()
        {
            return $this->_date_fin;
        }

	//field date_creation
	private $_date_creation = null;
	public function setDate_creation($value)
	{
		$this->_date_creation = new DateTime($value);
	}

	public function getDate_creation()
	{
		return $this->_date_creation;
	}

	//field date_modification
	private $_date_modification = null;
	public function setDate_modification($value)
	{
		$this->_date_modification = new DateTime($value);
	}

	public function getDate_modification()
	{
		return $this->_date_modification;
	}

	//field adresse
	private $adresse = null;
	public function setAdresse(Model_Adresse $value)
	{
		$this->adresse = $value;
	}

	public function getAdresse()
	{
		return $this->adresse;
	}

	//field categorie
	private $categorie = null;
	public function setCategorie(Model_Categorie $value)
	{
		$this->categorie = $value;
	}

	public function getCategorie()
	{
		return $this->categorie;
	}

        //field association
        private $association = null;
        public function setAssociation(Model_Association $value)
        {
            $this->association = $value;
        }

        public function getAssociation()
        {
            return $this->association;
        }

	public function __toString()
	{
		return 'Model_IEntity';
	}
}
